home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / x10_xa04.zip / AUTOEXEC.BAT < prev    next >
DOS Batch File  |  1991-08-03  |  824b  |  41 lines

  1. @ECHO OFF
  2. rem
  3. rem This is a portion of my AUTOEXEC.BAT file.
  4. rem Note:  Setup PATH and XA:
  5. rem
  6. SET PATH=C:\;D:\C600\BIN;C:\DOS;D:\X10;C:\WINDOWS;C:\UTILS;
  7. SET XA=D:\X10
  8. rem
  9. rem
  10. rem  See if it's time to update the X10 computer interface
  11. rem  (Provide a "window" of 30 mins. CP-290 turns computer on 3:00am Sunday)
  12. rem
  13. powerup d=SUNDAY s=2:45 e=3:15
  14. if errorlevel == 1 goto time
  15. goto nottime
  16. :time
  17. rem
  18. rem It's SUNDAY, and it's 3:00am!
  19. rem Download revised events now. Use default parameters and re-direct 
  20. rem output to file so we can check for errors later.
  21. rem
  22. xa >> c:\x10log
  23. rem
  24. rem Optimize hard drives
  25. rem
  26. vopt c:
  27. vopt d:
  28. vopt e:
  29. vopt f:
  30. rem
  31. rem Now backup hard drives
  32. rem
  33. cd \utils
  34. call back
  35. rem
  36. rem Done with backups...Use XA to turn off computer
  37. rem
  38. xa "A8 OFF"
  39. rem
  40. :nottime
  41.